/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "库存统计",TableName = "VMaterialBox")]
    public partial class VMaterialBox:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="MaterialId")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string MaterialId { get; set; }

       /// <summary>
       ///物料名称
       /// </summary>
       [Display(Name ="物料名称")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MaterialName { get; set; }

       /// <summary>
       ///批号
       /// </summary>
       [Display(Name ="批号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string BatchNumber { get; set; }

       /// <summary>
       ///库存数量（KG）
       /// </summary>
       [Display(Name ="库存数量（KG）")]
       [DisplayFormat(DataFormatString="38,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? Stock { get; set; }

       /// <summary>
       ///计划单号
       /// </summary>
       [Display(Name ="计划单号")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string OrderNumbers { get; set; }

       
    }
}